翻訳と辞書
Words near each other
・ Cross-linguistic Linked Data project
・ Cross-linguistic onomatopoeias
・ Cross-link
・ Cross-linked enzyme aggregate
・ Cross-linked polyethylene
・ Cross-linking
・ Cross-Manhattan Expressway
・ Cross-matching
・ Cross-media marketing
・ Cross-multiplication
・ Cross-national cooperation and agreements
・ Cross-National Equivalent File
・ Cross-national research
・ Cross-ndj (hieroglyph)
・ Cross-Niger transition forests
Cross-origin resource sharing
・ Cross-phase modulation
・ Cross-platform
・ Cross-platform Audio Creation Tool
・ Cross-platform interchange
・ Cross-platform support middleware
・ Cross-platform virtualization
・ Cross-plot
・ Cross-polarized wave generation
・ Cross-polytope
・ Cross-presentation
・ Cross-promotion
・ Cross-race effect
・ Cross-ratio
・ Cross-reactive carbohydrate determinants


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Cross-origin resource sharing : ウィキペディア英語版
Cross-origin resource sharing
Cross-origin resource sharing (CORS) is a mechanism that allows restricted resources (e.g. fonts) on a web page to be requested from another domain outside the domain from which the resource originated.〔
A web page may freely embed images, stylesheets, scripts, iframes, videos and some plugin content (such as Adobe Flash) from any other domain. However embedded web fonts and AJAX (XMLHttpRequest) requests have traditionally been limited to accessing the same domain as the parent web page (as per the same-origin security policy). "Cross-domain" AJAX requests are forbidden by default because of their ability to perform advanced requests (POST, PUT, DELETE and other types of HTTP requests, along with specifying custom HTTP headers) that introduce many cross-site scripting security issues.
CORS defines a way in which a browser and server can interact to safely determine whether or not to allow the cross-origin request. It allows for more freedom and functionality than purely same-origin requests, but is more secure than simply allowing all cross-origin requests. It is a recommended standard of the W3C.〔http://www.w3.org/TR/cors/〕
==How CORS works==
The CORS standard describes new HTTP headers which provide browsers and servers a way to request remote URLs only when they have permission. Although some validation and authorization can be performed by the server, it is generally the browser's responsibility to support these headers and respect the restrictions they impose.
For AJAX and HTTP request methods that can modify data (usually HTTP methods other than GET, or for POST usage with certain MIME types), the specification mandates that browsers "preflight" the request, soliciting supported methods from the server with an HTTP OPTIONS request header, and then, upon "approval" from the server, sending the actual request with the actual HTTP request method. Servers can also notify clients whether "credentials" (including Cookies and HTTP Authentication data) should be sent with requests.
Flowchart showing how a browser decides whether to use a Simple XHR or a Preflighted XHR when making a Cross-Origin XHR call.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Cross-origin resource sharing」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.